const Router = require("koa-router");

const authRouter = new Router();

const { login, success } = require("../controller/auth.controller");
const { verifyAuth, verifySSL } = require("../middleware/auth.middleware");

authRouter.post("/login", verifyAuth, login);

authRouter.get("/test", verifySSL, success);

module.exports = authRouter;
